package com.sakura.mall.ware.purchase.domain.entity;

import cn.dhbin.mapstruct.helper.core.Convert;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import java.math.BigDecimal;

/**
 * 采购信息 实体类
 *
 * @author sakura
 */
@Data
@TableName("wms_purchase")
public class PurchaseEntity implements Convert {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long assigneeId;
    /**
     * 
     */
    private String assigneeName;
    /**
     * 
     */
    private String phone;
    /**
     * 
     */
    private Integer priority;
    /**
     * 
     */
    private Integer status;
    /**
     * 
     */
    private Long wareId;
    /**
     * 
     */
    private BigDecimal amount;
    /**
     * 
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

}
